<!DOCTYPE html >
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<form action="http://mertest.chinapnr.com/npay/merchantRequest" method="post">

    <div th:each="lm : ${html}">

        <input type="text" th:each="entry : ${lm}"  th:name="${entry.key}" th:value="${entry.value}"/>

    </div>
    <button>button</button>
</form>

</html>